package com.wxapp.system.api.pojo.vm.dict.key;

import com.wxapp.common.constant.base.IBaseResponse;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author lgl
 * @Description 基础类
 * @Datetime 2022/12/9 9:17
 * @Modified By
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PBaseVm extends IBaseResponse implements Serializable {
    /**
     * 字典key,首字母大写
     */
    @Schema(description = "字典key,首字母大写 ", requiredMode = Schema.RequiredMode.REQUIRED)
    private String dictKey;

    /**
     * 字典名称
     */
    @Schema(description = "字典名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String dictName;

    /**
     * 字段所属业务类型  0 主业务 1 其他
     */
    @Schema(description = "字段所属业务类型  0 主业务 1 其他", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer dictType;


    /**
     * 父ID
     */
    @Schema(description = "父ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String pid;

    /**
     * 备注
     */
    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remark;

    /**
     * 权重
     */
    @Schema(description = "权重", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer sort;
}
